<aside id="app-aside" class="app-aside top light">
    <div class="container">
        <!-- aside-menu -->
        <div class="aside-menu-wrapper">
            <div id="aside-top-menu-toggle" class="visible-xs-inline-block">
                <button data-toggle="class" data-target="#aside-top-menu" data-class="open" self-toggle="is-active"
                        class="hamburger hamburger--spin js-hamburger" type="button">
					<span class="hamburger-box">
						<span class="hamburger-inner"></span>
					</span>
                </button>
            </div>
            <ul class="sf-menu aside-menu aside-top-menu" id="aside-top-menu">
                <li>
                    <a href="{:url('index')}" class="menu-link">
                        <span class="menu-icon"><i class="zmdi zmdi-home zmdi-hc-lg"></i></span>
                        <span class="menu-text">管理后台</span>
                    </a>
                </li><!-- .menu-item -->
                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-edit"></i></span>
                        <span class="menu-text">站点配置</span>
                    </a>
                    <ul>
                        {if condition="ZID eq 1"}
                        <li><a href="{:url('mainSet')}">主站配置</a></li>
                        <li><a href="{:url('emailSet')}">邮箱配置</a></li>
                        <li><a href="{:url('selectMb')}">选择模板</a></li>
                        <li><a href="{:url('sendMessage')}">发送站内消息</a></li>
                        <li><a href="{:url('paySet')}">在线支付设置</a></li>
                        <li><a href="{:url('sheQu')}">代刷商品设置</a></li>
                        {/if}
                        <li><a href="{:url('webSet')}">站点设置</a></li>
                        <li><a href="{:url('priceSet')}">价格设置</a></li>
                        <li><a href="{:url('sqPrice')}">代刷商品价格设置</a></li>
                    </ul>
                </li><!-- .menu-item -->
                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-list-ul"></i></span>
                        <span class="menu-text">数据管理</span>
                    </a>
                    <ul>
                        <li><a href="{:url('userList')}">用户管理</a></li>
                        <li><a href="{:url('userList',['type'=>'daili'])}">代理管理</a></li>
                        <li><a href="{:url('kmList')}">卡密管理</a></li>
                        {if condition="ZID eq 1"}
                        <li><a href="{:url('qqList')}">ＱＱ管理</a></li>
                        {/if}
                    </ul>
                </li><!-- .menu-item -->
                <li>
                    <a href="{:url('tixian')}" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-money"></i></span>
                        <span class="menu-text">余额提现</span>
                    </a>
                </li><!-- .menu-item -->
                {if condition="ZID eq 1 or config('web_super')"}
                <li>
                    <a href="{:url('ktfz')}" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-share-alt"></i></span>
                        <span class="menu-text">开通分站</span>
                    </a>
                </li><!-- .menu-item -->
                <li>
                    <a href="{:url('webList')}" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-list-alt"></i></span>
                        <span class="menu-text">分站列表</span>
                    </a>
                </li><!-- .menu-item -->

                <!--
                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-expand"></i></span>
                        <span class="menu-text">代刷导出</span>
                    </a>
                    <ul>
                        {volist name="webSqs" id="webSq"}
                        <li><a href="{:url('sqExport',['sqid'=>$webSq.sqid])}">{$webSq.name}</a></li>
                        {/volist}
                    </ul>
                </li><!-- .menu-item -->

                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-list-ol"></i></span>
                        <span class="menu-text">代刷订单</span>
                    </a>
                    <ul>
                        {volist name="webSqs" id="webSq"}
                        <li><a href="{:url('sqOrder',['sqid'=>$webSq.sqid])}">{$webSq.name}</a></li>
                        {/volist}
                    </ul>
                </li><!-- .menu-item -->

                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-expand"></i></span>
                        <span class="menu-text">数据导出</span>
                    </a>
                    <ul>
                        {volist name="webTools" id="webTool"}
                        <li><a href="{:url('export',['tid'=>$webTool.tid])}">{$webTool.name}</a></li>
                        {/volist}
                    </ul>
                </li><!-- .menu-item -->

                <li>
                    <a href="javascript:void(0)" class="menu-link">
                        <span class="menu-icon"><i class="fa fa-sign-in"></i></span>
                        <span class="menu-text">数据导入</span>
                    </a>
                    <ul>
                        <li><a href="{:url('import')}?kind=pwd">导入密码错误QQ</a></li>
                        <li><a href="{:url('import')}?kind=bh">导入登录保护QQ</a></li>
                        <li><a href="{:url('import')}?kind=dj">导入账号冻结QQ</a></li>
                    </ul>
                </li><!-- .menu-item -->
                {/if}

            </ul>
        </div>
        <!-- /aside-menu -->

        <!-- aside-user -->
        <div class="aside-user">
            <ul>
                <li class="dropdown">
                    <a href="javascript:void(0)" class="dropdown-toggle usertitle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false">
                        <div class="avatar avatar-md avatar-circle">
                            <img class="img-responsive" src="http://q1.qlogo.cn/g?b=qq&nk={$userInfo.qq}&s=160"
                                 alt="avatar"/>
                        </div><!-- .avatar -->
                    </a>
                    <ul class="dropdown-menu animated flipInY">
                        <li>
                            <a class="text-color" href="{:url('index')}">
                                <span class="m-r-xs"><i class="fa fa-home"></i></span>
                                <span>管理后台</span>
                            </a>
                        </li>
                        <li>
                            <a class="text-color" href="{:url('index/panel/index')}">
                                <span class="m-r-xs"><i class="fa fa-user"></i></span>
                                <span>用户面板</span>
                            </a>
                        </li>

                        <li role="separator" class="divider"></li>
                        <li>
                            <a class="text-color" href="{:url('index/Index/logout')}"
                               onclick="return confirm('确认退出登录？');">
                                <span class="m-r-xs"><i class="fa fa-power-off"></i></span>
                                <span>退出</span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <!-- /aside-user -->
    </div>
</aside>